package com.bootdo.program.wallpaper.dao;

import com.bootdo.program.wallpaper.domain.BzDeductionRecordDO;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 扣量记录表
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2022-03-01 10:41:27
 */
@Mapper
public interface BzDeductionRecordDao {

	BzDeductionRecordDO getByUserId(@Param("userId") String userId,@Param("deTime") Date deTime);

	List<BzDeductionRecordDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int updateDeCount(BzDeductionRecordDO deductionRecordDO);
	
}
